package com.yuxi.Dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yuxi.Entity.InformationFlow;


/**
 *信息流程操作接口
 * @author hunter
 * @version 1.0
 * 2016/07/18
 */

@Repository
public interface InformationFlowDao {
	/**
	 * 通过InformationFlowID获取InformationFlow
	 * @param 	InformationFlowId
	 * @return InformationFlow 
	 * */
	public InformationFlow getFlow(Integer iFlowId);
	/**
	 * 添加一个InformationFlow  并返回添加的实体类
	 * @param 	iFlow InformationFlow实体类
	 * @return InformationFlow 
	 * */
	public InformationFlow addFlow(InformationFlow iFlow);
	/**
	 * 删除一个InformationFlow  并返回删除的实体类
	 * @param 	iFlow InformationFlow实体类
	 * @return InformationFlow 
	 * */
	public void deleteFlow(InformationFlow iFlow);
	/**
	 * 修改一个InformationFlow  并返回修改的实体类
	 * @param 	iFlow InformationFlow实体类
	 * @return InformationFlow 
	 * */
	public void modiflyFlow(InformationFlow iFlow);
	
	/**
	 * 
	 * 
	 **/
	public InformationFlow getInformationFLowByInformationId(int informationId);
	
	public List<InformationFlow> getInformationFLowByInforId(int informationId);
	

}
